Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Function |linux_distribution_version

work/resources/system::|linux_distribution_version


Usage

|linux_distribution_version(name, version)

Parameters

↳ name: string
↳ version: string

Return

↴ System


Return a linux operating system of the given distribution and version.

The version is the VERSION_ID field of /etc/os-release (e.g. "24.04" for "ubuntu"), and a more precise version satisfies a less precise request ("24.04.1" satisfies "24.04").